package com.peng.dian.service;

import com.peng.dian.mapper.DeptMapper;
import com.peng.dian.pojo.Department2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    DeptMapper deptMapper;
    @Override
    public Department2 getDepartmentPeople(String deptName) {
        Department2 departmentPeople = deptMapper.getDepartmentPeople(deptName);
        return departmentPeople;
    }
}
